Auto merge of #5301 - mshal:build-plan, r=matklad
authorbors <bors@rust-lang.org>
Thu, 10 May 2018 19:55:02 +0000 (19:55 +0000)
committerbors <bors@rust-lang.org>
Thu, 10 May 2018 19:55:02 +0000 (19:55 +0000)
commit13c258ecaefccaad88a173e8b8dc8517db9e8aad
tree032f33f7fbdf26f219be94d04ad66991db951fd0
parentef719bc5e5966d99cce14a092a0525eba399ea1d
parenta071c3ab9bf3d18f5c5b7a0c96fe670987680f9b
Auto merge of #5301 - mshal:build-plan, r=matklad

Add --build-plan for 'cargo build'

With 'cargo build --build-plan', cargo does not actually run any
commands, but instead prints out what it would have done in the form of
a JSON data structure.

Fixes #3815
src/cargo/core/compiler/job_queue.rs
src/cargo/core/compiler/mod.rs